package com.tmt.im.manager.controller.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/23 10:43
 * @Version 1.0
 **/
@Getter
@Setter
@Tag(name = "查询返回的用户信息对象", description = "查询返回的用户信息对象")
public class UserInfoVoEx1 implements Serializable {

    @Serial
    private static final long serialVersionUID = 2254905619901617702L;

    @Schema(description = "用户ID, 也是云信用户ID")
    @JsonProperty("userId")
    private Long id;

    @Schema(description = "用户账号")
    private String username;

    @Schema(description = "昵称")
    @JsonProperty("name")
    private String nickname;

    @Schema(description = "用户编号")
    private String memberCode;

    @Schema(description = "用户头像URL地址")
    private String avatar;

    @Schema(description = "手机号码，全局唯一")
    @JsonProperty("phoneNo")
    private String mobile;

}
